package com.nothingboard.module.board.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.nothingboard.module.board.model.BoardSearchDto;
import com.nothingboard.module.board.model.BoardVo;

public interface BoardDao {
	
	public List<Object> getBoardList(BoardSearchDto dto) throws DataAccessException;
	
	public long getCount(BoardSearchDto dto) throws DataAccessException;
	
	public Object insert(BoardVo vo) throws DataAccessException;
	
	public int update(BoardVo vo) throws DataAccessException;
	
	public int delete(BoardVo vo) throws DataAccessException;
	
	public Object get(long boardNo) throws DataAccessException;
}
